[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 21 Fn E3  - Novell Netware - File Server - Get Connections Using A Fi  [N]

   AH = E3h subfn DCh
   DS:SI -> request buffer (see below)
   ES:DI -> reply buffer (see below)

Return: AL = status
       00h successful
       C6h no console rights

Notes: this function is supported by Advanced NetWare 2.1+
   the calling workstation must have console operator privileges

See Also: AH=E3h/SF=C8h,AH=E3h/SF=DAh,AH=E3h/SF=DBh,AH=E3h/SF=DFh,AH=E3h/SF=E1h

Format of request buffer:
Offset Size    Description
 00h   WORD    length of following data (max 104h)
 02h   BYTE    DCh (subfunction "Get Connections Using a File")
 03h   WORD    (big-endian) last record (0000h on first call)
 05h   BYTE    directory handle
 06h   BYTE    length of file path
 07h  N BYTEs  ASCIZ file path

Format of reply buffer:
Offset Size    Description
 00h   WORD    (call) size of following results record (max 1FEh)
 02h   WORD    (big-endian) count of tasks which have opened or logged file
 04h   WORD    (big-endian) count of tasks which have opened file
 06h   WORD    (big-endian) count of opens for reading
 08h   WORD    (big-endian) count of opens for writing
 0Ah   WORD    (big-endian) deny read count
 0Ch   WORD    (big-endian) deny write count
 0Eh   WORD    next request record (place in "last record" field on next call)
       0000h if no more records
 10h   BYTE    locked flag
       00h not locked exclusively
       else locked exclusively
 11h   BYTE    number of records following
 12h   var array of File Usage Information Records (see below)

Format of File Usage Information Record:
Offset Size    Description
 00h   WORD    (big-endian) logical connection number
 02h   BYTE    task number
 03h   BYTE    lock flags (see AH=E3h/SF=DBh)
 04h   BYTE    access flags (see AH=E3h/SF=DBh)
 05h   BYTE    lock type
       00h no lock
       FEh file lock
       FFh locked by Begin Share File Set

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson